Skip to content

More tests #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 9, 2015
Merged

More tests #313

merged 11 commits into from
Jan 9, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Dec 19, 2014

This is a branch that successively tries to fix more tests. Everyone is invited to review. In the interest of keeping the workflow smooth I am not going to flood the list with PRs if the fix is non-controversial. Difficult fixes will get their own PRs. But simple ones and simple verifications that some tests work will appear here.

I get very frequent build failures due to the mutual Scala<->Java dependency.
It builds for a long time, then decides that getCtx overrides nothing. The only
way to fix is another clean build. Total time lost: >5 minutes. These happened
occasionally before but have become much more frequent under ScalaIDe4.0, to the
point where this becomes a major drag on productity. Context escape detection
is nice but if it stops us getting work done, not worth the effort.
The problem was that, unlike a classDefSig, a higher-kinded typeDefSig did
not get a preset info with its type parameters. So any type-application
of the defined type in its bounds would fail.
Moved some working test to pos. I wonder why they were in pending? They did work for me.
Fixes problem in test case SI-7638a.scala which gave an
override error before.
isUnboundedGeneric imples !JavaDefined anyway.
scalac has the same restriction. The reason is that we do not have a means
to specify a sequence-valued default for a vararg parameter.

It would be nice if we could, but this requires a more substantial development
effort.
Move some tests into proper slots + comments what they are.
@odersky
Copy link
Contributor Author

odersky commented Jan 9, 2015

If there are no objections let's merge this now. I will have other PRs that depend on this one.

DarkDimius added a commit that referenced this pull request Jan 9, 2015
@DarkDimius DarkDimius merged commit dbeceba into scala:master Jan 9, 2015
tgodzik added a commit to tgodzik/scala3 that referenced this pull request Apr 29, 2025
Backport "Dealias before checking for member in lint" to 3.3 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants